<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>

<body>
<!--所有的html元素都可以被thymeleaf替换接管  即th：元素名-->
    <div th:text = "${name}"></div>
    <div th:utext = "${name}"></div>

<h3 th th:each="list:${list}" th:text="${list}"></h3>
</body>
</html>